package fr.vvins.core.biz.catalog.dto;

import java.io.Serializable;

import fr.vvins.core.catalog.entity.VigneronRating;
import fr.vvins.core.common.dto.BeanDtoImpl;
import fr.vvins.core.common.dto.annotation.Dto;

/**
 * Ratingvin entity
 */
@Dto(name="Vigneron", entity=VigneronRating.class)
public class VigneronRatingDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = 867367775721300908L;

	private Integer id;
	
	private String type;
	
	private Integer score;
		
	public VigneronRatingDto() {
	}

	public VigneronRatingDto(Integer id) {
		this.id = id;
	}

	public VigneronRatingDto(Integer id, String type, Integer score) {
		this.id = id;
		this.type = type;
		this.score = score;
	}

	@Override
	public Integer getId() {
		return this.id;
	}

	@Override
	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getScore() {
		return this.score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

}
